﻿using System.Collections.Generic;

namespace User.Api.Dto.Dinner
{
    public class CreateDinnerOrderRequest
    {
        public int CardId { get; set; }

        public List<Order> Orders { get; set; }

        public class Order
        {
            public string Date { get; set; }

            public int FpId { get; set; }

            public string FpName { get; set; }

            public int HmtId { get; set; }

            public string HmtName { get; set; }

            public string HmtEndTime { get; set; }

            public List<OrderItem> Items { get; set; }
        }

        public class OrderItem
        {
            public int FoodId { get; set; }

            public string FoodName { get; set; }

            public decimal UnitPrice { get; set; }

            public int Cnt { get; set; }

            public decimal Amount { get; set; }
        }
    }
}